package org.yagnus.scalasupport
object ManifestMagic {
  implicit def fromManifestToConcreteClass[X](m: Manifest[X]): WrappedManifest[X] = new WrappedManifest[X](m);
  implicit def fromConcreteClassToManifest[X](m: WrappedManifest[X]): Manifest[X] = m.getManifest;

  implicit def fromClassManifestToConcreteClass[X](m: ClassManifest[X]): WrappedClassManifest[X] = new WrappedClassManifest[X](m);
  implicit def fromConcreteClassToClassManifest[X](m: WrappedManifest[X]): ClassManifest[X] = m.getClassManifest;
}